package main

import (
	"die4.4/api"
	"die4.4/appconfig"
	"die4.4/inits"
	"die4.4/zap"
	"github.com/gin-gonic/gin"
)

func main() {
	zap.Zap()
	appconfig.Init()
	inits.MysqlInit()
	inits.RedisInit()
	router := gin.Default()
	api.LoadApiRouter(router)
	router.Run()
}
